<template>
    <div class="newcar">
        <div class="shortcut">
            <div class="left">
                <span>19:50</span>
            </div>
            <div class="right">
                <span class="iconfont icon-shengyinjingyin"></span>
                <span class="iconfont icon-wifi"></span>
                <span class="iconfont icon-dianliang"></span>
            </div>
        </div>
        <div class="header">
            <div class="left">
                廊坊<span class="iconfont icon-gonggong-xialajiantou"></span>
            </div>
            <div class="middle">
                <span class="iconfont icon-sousuo"></span>
                <input type="text" placeholder="搜索品牌，级别">
                <span class="iconfont icon-zhaoxiangji"></span>
            </div>
            <div class="right">
                <span class="iconfont icon-xinfeng"></span>
            </div>
        </div>
        <div>
            <ul class="nav">
                <li>
                    <router-link :to="{path:'/newcar/newenergy'}">新能源</router-link>
                </li>
                <li>
                    <router-link :to="{path:'/newcar/car'}">新车</router-link>
                </li>
                <li>
                    <router-link :to="{path:'/newcar/luxurybrand'}">豪华品牌</router-link>
                </li>
            </ul>
            <router-view></router-view>
        </div>
    </div>
</template>

<script>

    export default {
        components:{
           
        }
    }
</script>

<style lang="scss" scoped>
    .newcar{
        width: 100%;
        background-color: #ECF3FD;
        .shortcut{
            display: flex;
            justify-content: space-between;
            padding-top: 20px;
            .left{
                padding-left: 30px;
            }
            .right{
                padding-right: 15px;
            }
        }
        .header{
            display: flex;
            padding-top: 10px;
            justify-content: space-between;
            .left{
                padding-left: 20px;
            }
            .middle{
                width: 200px;
                height: 20px;
                border-radius: 10px;
                padding-left: 10px;
                border: 2px solid #3B67CA;
                background-color: #FFFFFF;
                input{
                    outline: none;
                    border: none;
                    padding-left: 5px;
                }
            }
            .right{
                padding-right: 20px;
            }
            }
            .nav{
            display: flex;
            padding-left: 35px;
            padding-top: 15px;
            li{
                padding-left: 35px;
                font-size: 18px;
                font-weight: 700;
                a{
                    color: black;
                }
            }
        }
    }
        
        
</style>